﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace StuEdu.Web.GradeInfo
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					int gradeInfoId=(Convert.ToInt32(strid));
					ShowInfo(gradeInfoId);
				}
			}
		}
		
	private void ShowInfo(int gradeInfoId)
	{
		StuEdu.BLL.GradeInfo bll=new StuEdu.BLL.GradeInfo();
		StuEdu.Model.GradeInfo model=bll.GetModel(gradeInfoId);
		this.lblgradeInfoId.Text=model.gradeInfoId.ToString();
		this.lblgradeName.Text=model.gradeName;
		this.lblgradeMaster.Text=model.gradeMaster;
		this.lblgradeTime.Text=model.gradeTime.ToString();

	}


    }
}
